

<div class="am-cf admin-main">
    <div class=" admin-content">






        <div class="admin-biaogelist">

            <div class="listbiaoti am-cf">
                <ul class="am-icon-flag on"> 首页</ul>

                <dl class="am-icon-home" style="float: right;">当前位置： 首页 > <a href="#">首页</a></dl>

                <dl>
                    <!-- <button type="button" class="am-btn am-btn-danger am-round am-btn-xs am-icon-plus" > 补充线订单</button>-->
                </dl>
                <!--这里打开的是新页面-->













            </div>





            <div class="fbneirong">
                <form class="am-form am-g">
                    <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped am-table-hover">
                        <thead>
                        <tr class="am-success">

                            <th class="table-title">资金</th>
                            <th class="table-title">累计任务</th>
                            <th class="table-type">推广奖励</th>
                            <th class="table-author am-hide-sm-only">邀请人数</th>

                        </tr>
                        </thead>
                        <tbody class="impowdith">





                        </tbody>
                    </table>





                    <hr />

                </form>

                <form class="am-form" style="height: 700px;">


                    <div style="margin-left: 200px;">
                        <div style="; font-size: 16px;float: ">邀请好友：
                            每个邀请好友赠送50金币
                            </div>


                        <div class="am-form-group am-cf" style="margin-left: -180px;">
                            <div class="zuo">推广链接：</div>
                            <div class="you">
                                <input type="text" class="am-input-sm"  name ="account"id="doc-ipt-email-1" value="<?php  echo $link; ?>">
                            </div>
                        </div>
                    <div class="am-form-group am-cf">
                        <div class="you" style="margin-left: 11%;">
                            <button    id="复制" class="am-btn am-btn-secondary am-radius">复制</button>

                        </div>
                    </div>
                </form>



            </div>


            <script>

                var on_request=false;
                var type=1;
                var page=1;
                function setlisthtnml(data) {
                    var html = '';
                    if(data.list.length>0){
                        $.each(data.list, function (key, value) {
                            html += '<tr>'+
                                '<td>'+value.money+'</td>\n'+
                                '<td>'+value.task_nub+'</td>\n'+
                                '<td class="am-hide-sm-only">'+value.extension+'</td>\n'+
                                '<td class="am-hide-sm-only">'+value.extension_nub+'</td>\n'+
                                '</tr>';
                        });
                        $(".impowdith").html(html);

                    }else{
                        html += '<li><div style="width:100%;text-align:center;">&nbsp暂无数据</div></li>';
                        $(".impowdith").html(html);

                    }

                }

                getpaylist();
                function getpaylist() {
                    var url = "<?php echo site_url(); ?>/Business/getindexdata";
                    var postdata = {
                        'page': page
                    };
                    $.post(url, postdata, function (data) {
                        on_request = false;
                        setlisthtnml(data);

                    },'json');

                }


            </script>








            <div class="foods">
                <ul>
                    版权所有@2015.
                </ul>
                <dl>
                    <a href="" title="返回头部" class="am-icon-btn am-icon-arrow-up"></a>
                </dl>
            </div>




        </div>

    </div>




</div>


<!--<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>-->
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/polyfill/rem.min.js"></script>
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/polyfill/respond.min.js"></script>
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/amazeui.legacy.js"></script>


<!--[if (gte IE 9)|!(IE)]><!-->
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/amazeui.min.js"></script>
<!--<![endif]-->



</body>
</html>